  <div id = "drug_filter" >
  <table width="100%" border="1" align="center">
    <tr>
      <td>
        <% form_remote_tag(:url => {:action => :show_sideffects}, :update => "sideffects") do %>
          Gender: <%= select_tag(:sex, options_for_select({"Female" => "F", "Male" => "M", "All" => "All"}, "All")) %>
          Age: <%= select_tag(:age, options_for_select({"<18" => "18", "18-45" => "45", "45-60" => "60", ">60" => "inf", "All" => "All"}, "All")) %>
          Time Taken:<%= select_tag(:time_taken, options_for_select({"< 1 week" => "week", "1 week - 1 month" => "month", "1 month - 3 months" => "season", "3 months - 6 months" => "half_year", "6 months - 1 year" => "year", "> 1 year" => "inf", "All" => "All"}, "All")) %>
          <%= submit_tag("Filter") %>
        <% end %>
      <td>
        <% form_remote_tag(:url => {:action => :add_drug}, :update => "sideffects" ) do %>
          Compare More Drugs: <%= text_field_with_auto_complete(:add, :drug, :autocomplete => "off")%>
          <%= submit_tag("Add") %>
        <% end %>
      </td>
    </tr>
  </table>
</div>
  <div id = "sideffects">
    <%= render(:partial => "show_sideffects") %>
  </div>
